package org.wu.framework.lazy.orm.database.lambda.stream.wrapper;

import org.wu.framework.lazy.orm.database.lambda.stream.condition.LambdaBasicComparison;
import org.wu.framework.lazy.orm.database.lambda.stream.condition.select.SelectBeanBasicComparison;
import org.wu.framework.lazy.orm.database.lambda.stream.condition.update.LambdaUpdateSetBeanBasicComparison;
import org.wu.framework.lazy.orm.database.lambda.stream.condition.update.LambdaUpdateSetBeanIgnoreEmptyBasicComparison;
import org.wu.framework.lazy.orm.database.lambda.stream.condition.update.LambdaUpdateSetValueBasicComparison;
import org.wu.framework.lazy.orm.database.lambda.stream.condition.update.UpdateSetValueBasicComparison;

/**
 * 更新设置数据
 */
public class LazyUpdateSetValueWrappers {

    /**
     * describe lambdaWrapper
     *
     * @author Jia wei Wu
     **/
    public static <T> LambdaUpdateSetValueBasicComparison<T> lambdaWrapper() {
        return new LambdaUpdateSetValueBasicComparison<T>() {
        };
    }
    /**
     * describe wrapperBean
     *
     * @param bean 参数对象
     * @author Jia wei Wu
     * @date 2022/1/9 1:12 下午
     **/
    public static <T> LambdaUpdateSetValueBasicComparison<T> lambdaWrapperBean(T bean) {
        return new LambdaUpdateSetBeanBasicComparison<T>(bean) {
        };
    }
    /**
     * describe wrapperBean
     *
     * @param bean 参数对象
     * @return
     * @author Jia wei Wu
     * @date 2022/1/9 1:12 下午
     **/
    public static <T> LambdaUpdateSetValueBasicComparison<T> lambdaWrapperBeanIgnoreEmpty(T bean) {
        return new LambdaUpdateSetBeanIgnoreEmptyBasicComparison<T>(bean) {
        };
    }

}
